<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>mod_auth_ldap</TITLE>
<LINK REL="STYLESHEET" HREF="manual.css">
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#00003F" ALINK="#FF0000">
<DIV CLASS="body">

<DIV ALIGN="CENTER">
 <A HREF="http://nanoweb.si.kz/"><IMG BORDER="0" SRC="/icons/nanoweb.png" ALT="[NANOWEB DOCUMENTATION]"></A>
 <H3><SMALL>NANOWEB</SMALL>, the aEGiS PHP web server</H3>
</DIV>

<H1 ALIGN="CENTER">mod_auth_ldap</H1>

This module allows to use authentication data from LDAP.

<br>
<br>
 
<PRE CLASS="samp">
AuthLDAPServer = ldap.example.com
AuthLDAPBindDN = cn=<KEYB>%AUTH_USER%</KEYB>,ou=people,dc=example,dc=com
AuthLDAPMatchFilter = (&(attrfilter=val)(httpaccess=on))

</PRE>

<br>
<br>

In AuthLDAPBindDN, <KEYB>%AUTH_USER%</KEYB> is replaced with the actual
login provided by the HTTP client. You may also use %AUTH_USER_U% and
%AUTH_USER_D% if you want to allow user@domain type logins.

<br>
<br>

In order to activate the authentication to take place for one of the
directories on your server, you must place the following two directives in
one of the .nwaccess files:

<br>
<br>

<PRE CLASS="samp">AuthRealm = place some information here
AuthRequire = LDAP
</PRE>

<br>

<br>
<BR><HR NOSHADE COLOR="#063239">
 <H3 ALIGN="CENTER"> <SMALL>NANOWEB</SMALL>, the aEGiS PHP web server </H3>
<DIV CLASS="navline"><A HREF="index.html">Index</A> &nbsp; <A HREF="modules.html">Modules</A> &nbsp; <A HREF="core.html">Configuration</A> &nbsp; <A HREF="../">READMEs</A> &nbsp; <A HREF="faq.html">FAQ</A> &nbsp; <A HREF="http://forums.t0x.net/viewforum.php?f=1">Support Forum</A></DIV>

</DIV>
</BODY>
</HTML>
